package cemp.pay;

import lombok.Data;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Data
@Component
public class WxPayProperties {

    /**
     * appid.
     */
    @Value("${appid}")
    private String appId;

    /**
     * 微信支付商户号.
     */
    @Value("${mchid}")
    private String mchId;

    /**
     * 微信支付商户密钥.
     */
    @Value("${mchKey}")
    private String mchKey;

    /**
     * 异步回调地址
     */
    @Value("${notifyUrl}")
    private String notifyUrl;
}
